package com.module.bag;

import org.xsocket.connection.INonBlockingConnection;

import com.connect.agreement.Packet;

public class BagManager {
	public static final byte GetMyItems = 1;
	public static final byte ChangeItemPos = 2;
	public static final byte DeleteItem = 3;
	
	/**
	 * 
	 * @param cfg_id 模型id
	 * @param type 类型 1：道具 2：装备 3：资源
	 * @param rid 属于谁的
	 */
	public static void createItem(int cfg_id,int type,int rid){
		
	}
	
	
	public static void update(INonBlockingConnection nbc,Packet packet){
		switch(packet.getCmd()){
		case GetMyItems:
			
			break;
		case ChangeItemPos:
			
			break;
		case DeleteItem:
			
			break;
		}
	}
}
